<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="include :: header('修改路桩车道')"/>
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-road_section_lane-edit" th:object="${rdRoadSectionLane}">
        <input name="id" th:field="*{id}" type="hidden">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">归属路段
                                ：</label>
                            <div class="col-sm-8">
                                <input name="fkId" th:field="*{fkId}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">开始路桩
                                ：</label>
                            <div class="col-sm-8">
                                <input name="startPileNumber" th:field="*{startPileNumber}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">结束路桩
                                ：</label>
                            <div class="col-sm-8">
                                <input name="endPileNumber" th:field="*{endPileNumber}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">车道数量
                                ：</label>
                            <div class="col-sm-8">
                                <input name="laneNumber" th:field="*{laneNumber}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">备注
                                ：</label>
                            <div class="col-sm-8">
                                <input name="remark" th:field="*{remark}" class="form-control"
                                       type="text">
                            </div>
                        </div>
    </form>
</div>
<th:block th:include="include :: footer"/>
<script th:inline="javascript">
    var prefix = ctx + "road/road_section_lane";
    $("#form-road_section_lane-edit").validate({
        focusCleanup: true
    });

    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save(prefix + "/edit", $('#form-road_section_lane-edit').serialize());
        }
    }
</script>
</body>
</html>
